@import "./mixin.scss";


.xb-card{
	box-sizing: border-box;
	padding: 30rpx 32rpx;
	border-radius: 12rpx;
	background: #FFFFFF;
	overflow: hidden;
}
.flex-row{
	display: flex;
	flex-direction: row;
}

.flex-col{
	display: flex;
	flex-direction: column;
}

/deep/ .u-icon{
		margin: 0;
		padding: 0;
		view{
			margin: 0;
			padding: 0;
		}
	}

.xb-bottom-btn{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 104rpx;
	background: #44D94B;
	font-size: 34rpx;
	z-index: 99;
	font-family: PingFangSC-Medium, PingFang SC;
	font-weight: 500;
	color: #FFFFFF;
	margin-bottom: constant(safe-area-inset-bottom);
	margin-bottom: env(safe-area-inset-bottom);
	@include flexCenter;
	&:after{
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		transform: translateY(100%);
	}
}

// 公共表单信息样式 s
.xb-info {
		font-size: 28rpx;
		font-family: PingFang-SC-Medium, PingFang-SC;
		font-weight: 500;
		color: #999;
		box-sizing: border-box;
		padding: 0 32rpx;
		border-radius: 12rpx;
		background: #FFFFFF;
		overflow: hidden;
		width: 100%;
		height: 100%;
		margin-bottom: 20rpx;

	/deep/ .input-placeholder{
		color: #F74D39;
	}

		view {
			padding: 28rpx 0 30rpx;
			// border-bottom: 1upx solid #eee;
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-direction: row;
			position: relative;
			&::after{
				content: "";
				position: absolute;
				width: 100%;
				height: 1px;
				bottom: 0;
				left: 0;
				background-color: #eee;
				transform: scaleY(0.5);
			}

			&:last-child::after{
				content: "";
				position: absolute;
				width: 100%;
				height: 1px;
				bottom: 0;
				left: 0;
				transform: scaleY(0.5);
				display: none;
			}
		}

		text:nth-child(1) {
			display: inline-block;
			height: 100%;
		}

		text:nth-child(2) {
			display: inline-flex;
			flex-grow: 1;
			text-align: end;
			justify-content: flex-end;
			align-items: center;
			font-size: 28rpx;
			border: none;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
			text-align: end;
			.u-icon{
				padding: 0;
				position: relative;
				transform: translateY(-3rpx);
			}
		}


		uni-radio-group{
			uni-label{
				margin-left: 20rpx;
			}
			/deep/ .uni-radio-input-checked{
				background: #44D94B;
			}
			/deep/ radio{
				width: 34rpx;
				height: 34rpx;
				margin-right: 6rpx;
			}
			.uni-radio-input{
				margin-right: 6rpx;
				width: 34rpx;
				height: 34rpx;
			}
		}

		radio-group{
			label{
				margin-left: 20rpx;
			}
			radio{
				margin-right: 4rpx;
				width: 28rpx;
				height: 28rpx;
			}
		}

		textarea {
			width: 100%;
			margin-top: 20rpx;
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
			min-height: 200rpx;
		}


		/deep/ .uni-textarea-wrapper {
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
			line-height: 40rpx;
		}

		/deep/ .uni-textarea-placeholder {
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #999999;
			line-height: 40rpx;
		}

		textarea {
			margin-top: 20rpx;
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
		}




		text {
			font-size: 28rpx;
			font-family: PingFang-SC-Medium, PingFang-SC;
			color: #666666;
			line-height: 40rpx;
		}

		input {
			text-align: right;
		}

		/deep/ .input-placeholder {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			font-size: 24rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #999999;
		}

		/deep/ .uni-input-input {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			text-align: right;
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
		}

		/deep/ .uni-textarea-wrapper {
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
			line-height: 40rpx;
		}

		/deep/ .uni-textarea-placeholder {
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #999999;
			line-height: 40rpx;
		}

		textarea {
			margin-top: 20rpx;
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #333333;
		}




		text {
			font-size: 28rpx;
			font-family: PingFang-SC-Medium, PingFang-SC;
			color: #666666;
			line-height: 40rpx;
		}
	}
// 公共表单信息样式 e

.xb-three-box{
	font-size: 26rpx;
	font-family: PingFang-SC-Medium, PingFang-SC;
	font-weight: 500;
	color: #999;
	box-sizing: border-box;
	border-radius: 12rpx;
	background: #FFFFFF;
	overflow: hidden;
	width: 100%;
	height: 100%;
	margin-bottom: 20rpx;

	.inputClass {
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
		line-height: 40rpx;
	}


	text:nth-child(2){
		text-align: center;
	}

	text:nth-child(3) {
		display: inline-flex;
		flex-grow: 1;
		text-align: end;
		justify-content: flex-end;
		align-items: center;
		border: none;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		text-align: end;
		.u-icon{
			padding: 0;
			position: relative;
			transform: translateY(-3rpx);
		}
	}

	input {
		text-align: right;
	}

	/deep/ .input-placeholder {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		font-size: 24rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
	}

	/deep/ .uni-input-input {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		text-align: right;
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #333333;
	}

	/deep/ .uni-textarea-wrapper {
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #333333;
		line-height: 40rpx;
	}

	/deep/ .uni-textarea-placeholder {
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
		line-height: 40rpx;
	}

	textarea {
		margin-top: 20rpx;
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #333333;
	}




	text {
		font-size: 28rpx;
		font-family: PingFang-SC-Medium, PingFang-SC;
		color: #666666;
		line-height: 40rpx;
	}

	uni-radio-group{
		uni-label{
			margin-left: 20rpx;
		}
		.uni-radio-input{
			width: 28rpx;
			height: 28rpx;
			margin-right: 4rpx;
		}
	}

	radio-group{
		label{
			margin-left: 20rpx;
		}
		radio{
			margin-right: 4rpx;
			width: 28rpx;
			height: 28rpx;
		}
	}

	textarea {
		width: 100%;
		margin-top: 20rpx;
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #333333;
		min-height: 200rpx;
	}


	view{
		display: grid;
		grid-template-columns:repeat(3,1fr);
		padding: 28rpx 32rpx 30rpx;
		border-bottom: 1upx solid #eee;

		&:last-child {
			border: none;
		}
	}

	view:nth-child(1){
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	view:nth-child(2){
		background: #FCFCFC;
		border: none;
	}
}


// 公共表单信息样式改 s
.bd-info {
		font-size: 28rpx;
		font-family: PingFang-SC-Medium, PingFang-SC;
		font-weight: 500;
		color: #999;
		box-sizing: border-box;
		padding: 0 32rpx;
		border-radius: 12rpx;
		background: #FFFFFF;
		overflow: hidden;
		width: 100%;
		height: 100%;
		margin-bottom: 20rpx;

	/deep/ .input-placeholder{
		color: #F74D39;
	}

		.col {
			padding: 28rpx 0 30rpx;
			border-bottom: 1upx solid #eee;
			display: flex;
			justify-content: space-between;
			align-items: center;
			flex-direction: row;

			&:last-child {
				border: none;
			}

			text:nth-child(1) {
				display: inline-block;
				height: 100%;
			}

			text:nth-child(2) {
				display: inline-flex;
				flex-grow: 1;
				text-align: end;
				justify-content: flex-end;
				align-items: center;
				font-size: 28rpx;
				border: none;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #333333;
				text-align: end;
				.u-icon{
					padding: 0;
					position: relative;
					transform: translateY(-3rpx);
				}
			}

			input{
				display: inline-flex;
				flex-grow: 1;
				text-align: end;
				font-size: 28rpx;
				border: none;
				justify-content: flex-end;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #333333;
			}

			uni-radio-group{
				uni-label{
					margin-left: 20rpx;
				}
				.uni-radio-input{
					margin-right: 4rpx;
					width: 28rpx;
					height: 28rpx;
				}
			}

			radio-group{
				label{
					margin-left: 20rpx;
				}
				radio{
					margin-right: 4rpx;
					width: 28rpx;
					height: 28rpx;
				}
			}

			textarea {
				width: 100%;
				margin-top: 20rpx;
				font-size: 28rpx;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #333333;
				min-height: 200rpx;
			}
		}


	}
// 公共表单信息样式改 e

//选择设备s
.sbbh {
	margin-bottom: 20rpx;
	box-sizing: border-box;
	padding: 30rpx 32rpx;
	width: 100%;
	background: #FFFFFF;
	border-radius: 12rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;

	.sbbh-l {
		font-size: 28rpx;
		font-family: PingFang-SC-Medium, PingFang-SC;
		font-weight: 500;
		color: #666666;
	}

	.sbbh-r {
		display: flex;

		.inp {
			position: relative;
			font-size: 24rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #999999;

			//&::after {
			//  content: "";
			//  position: absolute;
			//  top: 0;
			//  right: 0;
			//  height: 100%;
			//  width: 1rpx;
			//  background: #EEEEEE;
			//}
		}

		.scan {
			height: 100%;
			display: flex;
			align-items: center;
			font-size: 28rpx;
			font-family: PingFangSC-Regular, PingFang SC;
			font-weight: 400;
			color: #44D94B;

			u-icon {
				display: flex;
				align-items: center;
			}

			text {
				margin-left: 12rpx;
			}
		}
	}
}
//选择设备e

.inputClass {
		font-size: 28rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #999999;
		line-height: 40rpx;
	}



	.meter_reading {
		@include flexCenter;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100vw;
		height: 112rpx;
		background-color: #fff;

		.meter_reading_content {
			image {
				width: 44rpx;
				height: 44rpx;
				background: #44D94B;
			}
			view{
				margin-left: 16rpx;
				font-size: 34rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #44D94B;
			}

			@include flexCenter;
		}
	}

	.utilities{
		padding: 0;
		margin-top: 20rpx;
		.utilities_t{
			padding: 22rpx 42rpx;
			width: 100%;
			border-bottom: 1rpx solid #F6F6F6;
			font-size: 26rpx;
			font-family: PingFang-SC-Medium, PingFang-SC;
			font-weight: 500;
			color: #888888;
			line-height: 36rpx;
		}
	}

	.utilities-c{
		display: grid;
		grid-template-columns: repeat(3,1fr);

		.utilities-col{
			border-right: 1rpx solid #F6F6F6;
			border-bottom: 1rpx solid #F6F6F6;
			width: 100%;
			height: 236rpx;
			@include flexCenter;
			flex-direction: column;
			&:nth-child(3n){
				border-right: none;
			}
			image{
				margin-bottom: 22rpx;
				width: 70rpx;
				height: 70rpx;
				background: #EBEBEB;
				border-radius: 10rpx;
			}

			view{
				font-size: 28rpx;
				font-family: PingFang-SC-Medium, PingFang-SC;
				font-weight: 500;
				color: #222222;
			}
		}
	}

.suc-btnbox {
	margin-top: 60rpx;
	display: flex;

	view {
		@include flexCenter;
	}

	view:nth-child(1) {
		width: 220rpx;
		height: 80rpx;
		background: #f8f8f8;
		border-radius: 2rpx;
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #7b7b7b;
		border: 1rpx solid #dcdcdc;
	}

	view:nth-child(2) {
		margin-left: 40rpx;
		width: 220rpx;
		height: 80rpx;
		background: #f8f8f8;
		border-radius: 2rpx;
		font-size: 26rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #44d94b;
		border: 1rpx solid #44d94b;
	}
}

.arcol_list_col {
	padding: 30rpx 32rpx;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 148rpx;
	background-color: #fff;
	box-shadow: 0px 0px 10rpx 0px rgba(0, 0, 0, 0.06);
	border-radius: 12rpx;
	margin-bottom: 20rpx;

	.arcol_list_col_l {
		width: 100%;
		padding-right: 32rpx;

		.arcol_list_col_l_t {
			margin-bottom: 20rpx;
			font-size: 28rpx;
			font-weight: bold;
			color: #333333;
			display: flex;
			justify-content: space-between;
			align-items: center;
		}

		.arcol_list_col_l_b {
			display: flex;
			justify-content: space-between;
			font-size: 28rpx;
			font-weight: 500;
			color: #666666;
			align-items: center;
		}
	}

	.arcol_list_col_r{
		display: flex;
		align-items: center;
	}
}

.statetag{
	display: inline-block;
	margin-right: 20rpx;
	padding:2rpx 12rpx;
	background: #44D94B;
	border-radius: 4rpx;
	font-size: 24rpx;
	font-weight: bold;
	color: #FFFFFF;
}

.list-col {
	box-sizing: border-box;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	margin-bottom: 20rpx;
	border-radius: 12rpx;
	.list-col-t{
		margin-bottom: 20px;
		display: flex;
		font-size: 28rpx;
		font-weight: bold;
		color: #333333;
		justify-content: space-between;
	}
	.list-col-b{
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 26rpx;
		font-weight: 500;
		color: #333333;
	}
}

.info-tit{
	margin: 20rpx 0;
	padding-left: 32rpx;
	font-size: 26rpx;
	font-weight: 500;
	color: #666666;
}

.search-box{
	box-sizing: border-box;
	padding: 20rpx;
	top: 0;
	/* #ifdef H5 */
	top: 88rpx;
	/* #endif */
	left: 0;
	width: 100vw;
	background-color: #fff;
	display: flex;
	align-items: center;
	position: fixed;
	z-index:1000;

	/deep/ input {
		border-radius: 12rpx;
		flex-grow: 1;
		height: 70rpx;
		display: flex;
		align-items: center;
		padding-left: 60rpx;
		background: #f5f5f5;
	}

	/deep/ .uni-input-placeholder{
		left: 50rpx;
	}

	/deep/ .uni-input-input{
		padding-left: 50rpx;
	}

	.sr-icon {
		position: absolute;
		left: 20rpx;
		font-size: 36rpx;
		margin-left: 16rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #666666;
	}
}


/*
详情以及表单用这个
*/
//详情以及表单用这个
.show-panel {
	padding: 0 32rpx;
	margin-bottom: 20rpx;
	border-radius: 12rpx;
	background: #FFFFFF;

	.show-col {
		position: relative;
		padding: 30rpx 0;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;

		&::after {
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 2rpx;
			background: #eee;
			transform: scaleY(0.5);
			content: "";
		}

		&:last-child {
			&::after {
				display: none;
			}
		}

		.show-col-l {
			white-space: nowrap;
			flex-shrink: 0;
			display: flex;
			align-items: center;
			font-size: 28rpx;
			font-weight: 500;
			color: #666666;
		}

		.show-col-r {
			font-size: 28rpx;
			font-weight: 500;
			color: #333333;
			display: flex;
			align-items: center;
		}

		input {
			display: inline-flex;
			flex-grow: 1;
			text-align: end;
			font-size: 28rpx;
			border: none;
			justify-content: flex-end;
			font-weight: 400;
			color: #333333;
		}

		.placeholder {
			display: inline-flex;
			flex-grow: 1;
			text-align: end;
			font-size: 28rpx;
			border: none;
			justify-content: flex-end;
			font-weight: 400;
			color: #999;
		}
	}

	.table-col {
		position: relative;
		width: 100%;
		display: flex;
		justify-content: space-between;
		padding: 28rpx 0;

		font-size: 28rpx;
		font-weight: 500;
		color: #333333;

		input {
			display: inline-flex;
			flex-grow: 1;
			font-size: 28rpx;
			border: none;
			font-weight: 400;
			color: #333333;
		}

		.placeholder {
			display: inline-flex;
			flex-grow: 1;
			font-size: 28rpx;
			border: none;
			font-weight: 400;
			color: #999;
		}


		.table-col-c:last-child {
			display: flex;
			justify-content: flex-end;

			input {
				display: inline-flex;
				flex-grow: 1;
				text-align: end;
				font-size: 28rpx;
				border: none;
				justify-content: flex-end;
				font-weight: 400;
				color: #333333;
			}

			.placeholder {
				display: inline-flex;
				flex-grow: 1;
				text-align: end;
				font-size: 28rpx;
				border: none;
				justify-content: flex-end;
				font-weight: 400;
				color: #999;
			}
		}

		&::after {
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 2rpx;
			background: #eee;
			transform: scaleY(0.5);
			content: "";
		}

		&:last-child {
			&::after {
				display: none;
			}
		}
	}

	.table-tit {
		font-size: 28rpx;
		font-weight: 500;
		color: #666666;
	}


	/deep/ .uni-textarea-wrapper {
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		line-height: 40rpx;
	}

	/deep/ .uni-textarea-placeholder {
		font-size: 28rpx;
		font-weight: 400;
		color: #999999;
		line-height: 40rpx;
	}

	textarea {
		margin-top: 20rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}
}
